package com.yy.wga.mp.module.income.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.wga.mp.module.income.request.IncomeOrderConfirmRequest;
import com.yy.wga.mp.module.income.response.IncomeUpGradeGetNotifyResponse;
import com.yy.wga.mp.module.income.response.IncomeUpGradePageResponse;
import com.yy.wga.mp.module.income.response.IncomeUpGradeParentUserPageResponse;
import com.yy.wga.mp.module.income.entity.pojo.IncomeUpGradeDO;

import javax.validation.Valid;
import java.util.List;

/**
 * 升级礼包商品收益信息(IncomeUpGrade)表服务接口
 *
 * @author guochao
 * @since 2024-12-21 20:43:59
 */
public interface IncomeUpGradeService extends IService<IncomeUpGradeDO> {
    /**
     * 查询收益列表
     * @param request
     * @return
     */
    List<IncomeUpGradePageResponse> pageIncome(@Valid BasePageRequestDTO request);

    /**
     * 获取下单人订单列表
     * @param request
     * @return
     */
    List<IncomeUpGradeParentUserPageResponse> parentUserList(@Valid BasePageRequestDTO request);

    /**
     * 确定订单
     * @param request
     */
    void confirm(@Valid IncomeOrderConfirmRequest request);

    /**
     * 获取通知
     * @return
     */
    List<IncomeUpGradeGetNotifyResponse> getNotify();
}
